Option Strict On
Option Explicit On 

Public Class Range
    Inherits System.Windows.Forms.Form

#Region " Windows Form Designer generated code "

    Public Sub New()
        MyBase.New()

        'This call is required by the Windows Form Designer.
        InitializeComponent()

        'Add any initialization after the InitializeComponent() call

    End Sub

    'Form overrides dispose to clean up the component list.
    Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
        If disposing Then
            If Not (components Is Nothing) Then
                components.Dispose()
            End If
        End If
        MyBase.Dispose(disposing)
    End Sub

    'Required by the Windows Form Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Windows Form Designer
    'It can be modified using the Windows Form Designer.  
    'Do not modify it using the code editor.
    Friend WithEvents btnOk As System.Windows.Forms.Button
    Friend WithEvents btnCancel As System.Windows.Forms.Button
    Friend WithEvents updFrom As System.Windows.Forms.NumericUpDown
    Friend WithEvents lblFrom As System.Windows.Forms.Label
    Friend WithEvents updTo As System.Windows.Forms.NumericUpDown
    Friend WithEvents lblTo As System.Windows.Forms.Label
    Friend WithEvents txtFile As System.Windows.Forms.TextBox
    Friend WithEvents lblFile As System.Windows.Forms.Label
    Friend WithEvents chkOpen As System.Windows.Forms.CheckBox
    Friend WithEvents chkInclude As System.Windows.Forms.CheckBox
    Friend WithEvents btnBrowse As System.Windows.Forms.Button
    Friend WithEvents ErrorProvider1 As System.Windows.Forms.ErrorProvider
    <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Dim resources As System.Resources.ResourceManager = New System.Resources.ResourceManager(GetType(Range))
        Me.updFrom = New System.Windows.Forms.NumericUpDown
        Me.lblFrom = New System.Windows.Forms.Label
        Me.updTo = New System.Windows.Forms.NumericUpDown
        Me.lblTo = New System.Windows.Forms.Label
        Me.btnOk = New System.Windows.Forms.Button
        Me.btnCancel = New System.Windows.Forms.Button
        Me.txtFile = New System.Windows.Forms.TextBox
        Me.lblFile = New System.Windows.Forms.Label
        Me.chkOpen = New System.Windows.Forms.CheckBox
        Me.chkInclude = New System.Windows.Forms.CheckBox
        Me.btnBrowse = New System.Windows.Forms.Button
        Me.ErrorProvider1 = New System.Windows.Forms.ErrorProvider
        CType(Me.updFrom, System.ComponentModel.ISupportInitialize).BeginInit()
        CType(Me.updTo, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'updFrom
        '
        Me.updFrom.AccessibleDescription = resources.GetString("updFrom.AccessibleDescription")
        Me.updFrom.AccessibleName = resources.GetString("updFrom.AccessibleName")
        Me.updFrom.Anchor = CType(resources.GetObject("updFrom.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.updFrom.Dock = CType(resources.GetObject("updFrom.Dock"), System.Windows.Forms.DockStyle)
        Me.updFrom.Enabled = CType(resources.GetObject("updFrom.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.updFrom, resources.GetString("updFrom.Error"))
        Me.updFrom.Font = CType(resources.GetObject("updFrom.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.updFrom, CType(resources.GetObject("updFrom.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.updFrom, CType(resources.GetObject("updFrom.IconPadding"), Integer))
        Me.updFrom.ImeMode = CType(resources.GetObject("updFrom.ImeMode"), System.Windows.Forms.ImeMode)
        Me.updFrom.Location = CType(resources.GetObject("updFrom.Location"), System.Drawing.Point)
        Me.updFrom.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.updFrom.Minimum = New Decimal(New Integer() {1, 0, 0, 0})
        Me.updFrom.Name = "updFrom"
        Me.updFrom.RightToLeft = CType(resources.GetObject("updFrom.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.updFrom.Size = CType(resources.GetObject("updFrom.Size"), System.Drawing.Size)
        Me.updFrom.TabIndex = CType(resources.GetObject("updFrom.TabIndex"), Integer)
        Me.updFrom.TextAlign = CType(resources.GetObject("updFrom.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.updFrom.ThousandsSeparator = CType(resources.GetObject("updFrom.ThousandsSeparator"), Boolean)
        Me.updFrom.UpDownAlign = CType(resources.GetObject("updFrom.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.updFrom.Value = New Decimal(New Integer() {1, 0, 0, 0})
        Me.updFrom.Visible = CType(resources.GetObject("updFrom.Visible"), Boolean)
        '
        'lblFrom
        '
        Me.lblFrom.AccessibleDescription = resources.GetString("lblFrom.AccessibleDescription")
        Me.lblFrom.AccessibleName = resources.GetString("lblFrom.AccessibleName")
        Me.lblFrom.Anchor = CType(resources.GetObject("lblFrom.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblFrom.AutoSize = CType(resources.GetObject("lblFrom.AutoSize"), Boolean)
        Me.lblFrom.Dock = CType(resources.GetObject("lblFrom.Dock"), System.Windows.Forms.DockStyle)
        Me.lblFrom.Enabled = CType(resources.GetObject("lblFrom.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblFrom, resources.GetString("lblFrom.Error"))
        Me.lblFrom.Font = CType(resources.GetObject("lblFrom.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblFrom, CType(resources.GetObject("lblFrom.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblFrom, CType(resources.GetObject("lblFrom.IconPadding"), Integer))
        Me.lblFrom.Image = CType(resources.GetObject("lblFrom.Image"), System.Drawing.Image)
        Me.lblFrom.ImageAlign = CType(resources.GetObject("lblFrom.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblFrom.ImageIndex = CType(resources.GetObject("lblFrom.ImageIndex"), Integer)
        Me.lblFrom.ImeMode = CType(resources.GetObject("lblFrom.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblFrom.Location = CType(resources.GetObject("lblFrom.Location"), System.Drawing.Point)
        Me.lblFrom.Name = "lblFrom"
        Me.lblFrom.RightToLeft = CType(resources.GetObject("lblFrom.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblFrom.Size = CType(resources.GetObject("lblFrom.Size"), System.Drawing.Size)
        Me.lblFrom.TabIndex = CType(resources.GetObject("lblFrom.TabIndex"), Integer)
        Me.lblFrom.Text = resources.GetString("lblFrom.Text")
        Me.lblFrom.TextAlign = CType(resources.GetObject("lblFrom.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblFrom.Visible = CType(resources.GetObject("lblFrom.Visible"), Boolean)
        '
        'updTo
        '
        Me.updTo.AccessibleDescription = resources.GetString("updTo.AccessibleDescription")
        Me.updTo.AccessibleName = resources.GetString("updTo.AccessibleName")
        Me.updTo.Anchor = CType(resources.GetObject("updTo.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.updTo.Dock = CType(resources.GetObject("updTo.Dock"), System.Windows.Forms.DockStyle)
        Me.updTo.Enabled = CType(resources.GetObject("updTo.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.updTo, resources.GetString("updTo.Error"))
        Me.updTo.Font = CType(resources.GetObject("updTo.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.updTo, CType(resources.GetObject("updTo.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.updTo, CType(resources.GetObject("updTo.IconPadding"), Integer))
        Me.updTo.ImeMode = CType(resources.GetObject("updTo.ImeMode"), System.Windows.Forms.ImeMode)
        Me.updTo.Location = CType(resources.GetObject("updTo.Location"), System.Drawing.Point)
        Me.updTo.Maximum = New Decimal(New Integer() {10000, 0, 0, 0})
        Me.updTo.Minimum = New Decimal(New Integer() {1, 0, 0, 0})
        Me.updTo.Name = "updTo"
        Me.updTo.RightToLeft = CType(resources.GetObject("updTo.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.updTo.Size = CType(resources.GetObject("updTo.Size"), System.Drawing.Size)
        Me.updTo.TabIndex = CType(resources.GetObject("updTo.TabIndex"), Integer)
        Me.updTo.TextAlign = CType(resources.GetObject("updTo.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.updTo.ThousandsSeparator = CType(resources.GetObject("updTo.ThousandsSeparator"), Boolean)
        Me.updTo.UpDownAlign = CType(resources.GetObject("updTo.UpDownAlign"), System.Windows.Forms.LeftRightAlignment)
        Me.updTo.Value = New Decimal(New Integer() {1, 0, 0, 0})
        Me.updTo.Visible = CType(resources.GetObject("updTo.Visible"), Boolean)
        '
        'lblTo
        '
        Me.lblTo.AccessibleDescription = resources.GetString("lblTo.AccessibleDescription")
        Me.lblTo.AccessibleName = resources.GetString("lblTo.AccessibleName")
        Me.lblTo.Anchor = CType(resources.GetObject("lblTo.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblTo.AutoSize = CType(resources.GetObject("lblTo.AutoSize"), Boolean)
        Me.lblTo.Dock = CType(resources.GetObject("lblTo.Dock"), System.Windows.Forms.DockStyle)
        Me.lblTo.Enabled = CType(resources.GetObject("lblTo.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblTo, resources.GetString("lblTo.Error"))
        Me.lblTo.Font = CType(resources.GetObject("lblTo.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblTo, CType(resources.GetObject("lblTo.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblTo, CType(resources.GetObject("lblTo.IconPadding"), Integer))
        Me.lblTo.Image = CType(resources.GetObject("lblTo.Image"), System.Drawing.Image)
        Me.lblTo.ImageAlign = CType(resources.GetObject("lblTo.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblTo.ImageIndex = CType(resources.GetObject("lblTo.ImageIndex"), Integer)
        Me.lblTo.ImeMode = CType(resources.GetObject("lblTo.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblTo.Location = CType(resources.GetObject("lblTo.Location"), System.Drawing.Point)
        Me.lblTo.Name = "lblTo"
        Me.lblTo.RightToLeft = CType(resources.GetObject("lblTo.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblTo.Size = CType(resources.GetObject("lblTo.Size"), System.Drawing.Size)
        Me.lblTo.TabIndex = CType(resources.GetObject("lblTo.TabIndex"), Integer)
        Me.lblTo.Text = resources.GetString("lblTo.Text")
        Me.lblTo.TextAlign = CType(resources.GetObject("lblTo.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblTo.Visible = CType(resources.GetObject("lblTo.Visible"), Boolean)
        '
        'btnOk
        '
        Me.btnOk.AccessibleDescription = resources.GetString("btnOk.AccessibleDescription")
        Me.btnOk.AccessibleName = resources.GetString("btnOk.AccessibleName")
        Me.btnOk.Anchor = CType(resources.GetObject("btnOk.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnOk.BackgroundImage = CType(resources.GetObject("btnOk.BackgroundImage"), System.Drawing.Image)
        Me.btnOk.Dock = CType(resources.GetObject("btnOk.Dock"), System.Windows.Forms.DockStyle)
        Me.btnOk.Enabled = CType(resources.GetObject("btnOk.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.btnOk, resources.GetString("btnOk.Error"))
        Me.btnOk.FlatStyle = CType(resources.GetObject("btnOk.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnOk.Font = CType(resources.GetObject("btnOk.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.btnOk, CType(resources.GetObject("btnOk.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.btnOk, CType(resources.GetObject("btnOk.IconPadding"), Integer))
        Me.btnOk.Image = CType(resources.GetObject("btnOk.Image"), System.Drawing.Image)
        Me.btnOk.ImageAlign = CType(resources.GetObject("btnOk.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnOk.ImageIndex = CType(resources.GetObject("btnOk.ImageIndex"), Integer)
        Me.btnOk.ImeMode = CType(resources.GetObject("btnOk.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnOk.Location = CType(resources.GetObject("btnOk.Location"), System.Drawing.Point)
        Me.btnOk.Name = "btnOk"
        Me.btnOk.RightToLeft = CType(resources.GetObject("btnOk.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnOk.Size = CType(resources.GetObject("btnOk.Size"), System.Drawing.Size)
        Me.btnOk.TabIndex = CType(resources.GetObject("btnOk.TabIndex"), Integer)
        Me.btnOk.Text = resources.GetString("btnOk.Text")
        Me.btnOk.TextAlign = CType(resources.GetObject("btnOk.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnOk.Visible = CType(resources.GetObject("btnOk.Visible"), Boolean)
        '
        'btnCancel
        '
        Me.btnCancel.AccessibleDescription = resources.GetString("btnCancel.AccessibleDescription")
        Me.btnCancel.AccessibleName = resources.GetString("btnCancel.AccessibleName")
        Me.btnCancel.Anchor = CType(resources.GetObject("btnCancel.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnCancel.BackgroundImage = CType(resources.GetObject("btnCancel.BackgroundImage"), System.Drawing.Image)
        Me.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel
        Me.btnCancel.Dock = CType(resources.GetObject("btnCancel.Dock"), System.Windows.Forms.DockStyle)
        Me.btnCancel.Enabled = CType(resources.GetObject("btnCancel.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.btnCancel, resources.GetString("btnCancel.Error"))
        Me.btnCancel.FlatStyle = CType(resources.GetObject("btnCancel.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnCancel.Font = CType(resources.GetObject("btnCancel.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.btnCancel, CType(resources.GetObject("btnCancel.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.btnCancel, CType(resources.GetObject("btnCancel.IconPadding"), Integer))
        Me.btnCancel.Image = CType(resources.GetObject("btnCancel.Image"), System.Drawing.Image)
        Me.btnCancel.ImageAlign = CType(resources.GetObject("btnCancel.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnCancel.ImageIndex = CType(resources.GetObject("btnCancel.ImageIndex"), Integer)
        Me.btnCancel.ImeMode = CType(resources.GetObject("btnCancel.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnCancel.Location = CType(resources.GetObject("btnCancel.Location"), System.Drawing.Point)
        Me.btnCancel.Name = "btnCancel"
        Me.btnCancel.RightToLeft = CType(resources.GetObject("btnCancel.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnCancel.Size = CType(resources.GetObject("btnCancel.Size"), System.Drawing.Size)
        Me.btnCancel.TabIndex = CType(resources.GetObject("btnCancel.TabIndex"), Integer)
        Me.btnCancel.Text = resources.GetString("btnCancel.Text")
        Me.btnCancel.TextAlign = CType(resources.GetObject("btnCancel.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnCancel.Visible = CType(resources.GetObject("btnCancel.Visible"), Boolean)
        '
        'txtFile
        '
        Me.txtFile.AccessibleDescription = resources.GetString("txtFile.AccessibleDescription")
        Me.txtFile.AccessibleName = resources.GetString("txtFile.AccessibleName")
        Me.txtFile.Anchor = CType(resources.GetObject("txtFile.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.txtFile.AutoSize = CType(resources.GetObject("txtFile.AutoSize"), Boolean)
        Me.txtFile.BackgroundImage = CType(resources.GetObject("txtFile.BackgroundImage"), System.Drawing.Image)
        Me.txtFile.Dock = CType(resources.GetObject("txtFile.Dock"), System.Windows.Forms.DockStyle)
        Me.txtFile.Enabled = CType(resources.GetObject("txtFile.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.txtFile, resources.GetString("txtFile.Error"))
        Me.txtFile.Font = CType(resources.GetObject("txtFile.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.txtFile, CType(resources.GetObject("txtFile.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.txtFile, CType(resources.GetObject("txtFile.IconPadding"), Integer))
        Me.txtFile.ImeMode = CType(resources.GetObject("txtFile.ImeMode"), System.Windows.Forms.ImeMode)
        Me.txtFile.Location = CType(resources.GetObject("txtFile.Location"), System.Drawing.Point)
        Me.txtFile.MaxLength = CType(resources.GetObject("txtFile.MaxLength"), Integer)
        Me.txtFile.Multiline = CType(resources.GetObject("txtFile.Multiline"), Boolean)
        Me.txtFile.Name = "txtFile"
        Me.txtFile.PasswordChar = CType(resources.GetObject("txtFile.PasswordChar"), Char)
        Me.txtFile.RightToLeft = CType(resources.GetObject("txtFile.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.txtFile.ScrollBars = CType(resources.GetObject("txtFile.ScrollBars"), System.Windows.Forms.ScrollBars)
        Me.txtFile.Size = CType(resources.GetObject("txtFile.Size"), System.Drawing.Size)
        Me.txtFile.TabIndex = CType(resources.GetObject("txtFile.TabIndex"), Integer)
        Me.txtFile.Text = resources.GetString("txtFile.Text")
        Me.txtFile.TextAlign = CType(resources.GetObject("txtFile.TextAlign"), System.Windows.Forms.HorizontalAlignment)
        Me.txtFile.Visible = CType(resources.GetObject("txtFile.Visible"), Boolean)
        Me.txtFile.WordWrap = CType(resources.GetObject("txtFile.WordWrap"), Boolean)
        '
        'lblFile
        '
        Me.lblFile.AccessibleDescription = resources.GetString("lblFile.AccessibleDescription")
        Me.lblFile.AccessibleName = resources.GetString("lblFile.AccessibleName")
        Me.lblFile.Anchor = CType(resources.GetObject("lblFile.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.lblFile.AutoSize = CType(resources.GetObject("lblFile.AutoSize"), Boolean)
        Me.lblFile.Dock = CType(resources.GetObject("lblFile.Dock"), System.Windows.Forms.DockStyle)
        Me.lblFile.Enabled = CType(resources.GetObject("lblFile.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.lblFile, resources.GetString("lblFile.Error"))
        Me.lblFile.Font = CType(resources.GetObject("lblFile.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.lblFile, CType(resources.GetObject("lblFile.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.lblFile, CType(resources.GetObject("lblFile.IconPadding"), Integer))
        Me.lblFile.Image = CType(resources.GetObject("lblFile.Image"), System.Drawing.Image)
        Me.lblFile.ImageAlign = CType(resources.GetObject("lblFile.ImageAlign"), System.Drawing.ContentAlignment)
        Me.lblFile.ImageIndex = CType(resources.GetObject("lblFile.ImageIndex"), Integer)
        Me.lblFile.ImeMode = CType(resources.GetObject("lblFile.ImeMode"), System.Windows.Forms.ImeMode)
        Me.lblFile.Location = CType(resources.GetObject("lblFile.Location"), System.Drawing.Point)
        Me.lblFile.Name = "lblFile"
        Me.lblFile.RightToLeft = CType(resources.GetObject("lblFile.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.lblFile.Size = CType(resources.GetObject("lblFile.Size"), System.Drawing.Size)
        Me.lblFile.TabIndex = CType(resources.GetObject("lblFile.TabIndex"), Integer)
        Me.lblFile.Text = resources.GetString("lblFile.Text")
        Me.lblFile.TextAlign = CType(resources.GetObject("lblFile.TextAlign"), System.Drawing.ContentAlignment)
        Me.lblFile.Visible = CType(resources.GetObject("lblFile.Visible"), Boolean)
        '
        'chkOpen
        '
        Me.chkOpen.AccessibleDescription = resources.GetString("chkOpen.AccessibleDescription")
        Me.chkOpen.AccessibleName = resources.GetString("chkOpen.AccessibleName")
        Me.chkOpen.Anchor = CType(resources.GetObject("chkOpen.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkOpen.Appearance = CType(resources.GetObject("chkOpen.Appearance"), System.Windows.Forms.Appearance)
        Me.chkOpen.BackgroundImage = CType(resources.GetObject("chkOpen.BackgroundImage"), System.Drawing.Image)
        Me.chkOpen.CheckAlign = CType(resources.GetObject("chkOpen.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkOpen.Checked = True
        Me.chkOpen.CheckState = System.Windows.Forms.CheckState.Checked
        Me.chkOpen.Dock = CType(resources.GetObject("chkOpen.Dock"), System.Windows.Forms.DockStyle)
        Me.chkOpen.Enabled = CType(resources.GetObject("chkOpen.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkOpen, resources.GetString("chkOpen.Error"))
        Me.chkOpen.FlatStyle = CType(resources.GetObject("chkOpen.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkOpen.Font = CType(resources.GetObject("chkOpen.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkOpen, CType(resources.GetObject("chkOpen.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkOpen, CType(resources.GetObject("chkOpen.IconPadding"), Integer))
        Me.chkOpen.Image = CType(resources.GetObject("chkOpen.Image"), System.Drawing.Image)
        Me.chkOpen.ImageAlign = CType(resources.GetObject("chkOpen.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkOpen.ImageIndex = CType(resources.GetObject("chkOpen.ImageIndex"), Integer)
        Me.chkOpen.ImeMode = CType(resources.GetObject("chkOpen.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkOpen.Location = CType(resources.GetObject("chkOpen.Location"), System.Drawing.Point)
        Me.chkOpen.Name = "chkOpen"
        Me.chkOpen.RightToLeft = CType(resources.GetObject("chkOpen.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkOpen.Size = CType(resources.GetObject("chkOpen.Size"), System.Drawing.Size)
        Me.chkOpen.TabIndex = CType(resources.GetObject("chkOpen.TabIndex"), Integer)
        Me.chkOpen.Text = resources.GetString("chkOpen.Text")
        Me.chkOpen.TextAlign = CType(resources.GetObject("chkOpen.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkOpen.Visible = CType(resources.GetObject("chkOpen.Visible"), Boolean)
        '
        'chkInclude
        '
        Me.chkInclude.AccessibleDescription = resources.GetString("chkInclude.AccessibleDescription")
        Me.chkInclude.AccessibleName = resources.GetString("chkInclude.AccessibleName")
        Me.chkInclude.Anchor = CType(resources.GetObject("chkInclude.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.chkInclude.Appearance = CType(resources.GetObject("chkInclude.Appearance"), System.Windows.Forms.Appearance)
        Me.chkInclude.BackgroundImage = CType(resources.GetObject("chkInclude.BackgroundImage"), System.Drawing.Image)
        Me.chkInclude.CheckAlign = CType(resources.GetObject("chkInclude.CheckAlign"), System.Drawing.ContentAlignment)
        Me.chkInclude.Checked = True
        Me.chkInclude.CheckState = System.Windows.Forms.CheckState.Checked
        Me.chkInclude.Dock = CType(resources.GetObject("chkInclude.Dock"), System.Windows.Forms.DockStyle)
        Me.chkInclude.Enabled = CType(resources.GetObject("chkInclude.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.chkInclude, resources.GetString("chkInclude.Error"))
        Me.chkInclude.FlatStyle = CType(resources.GetObject("chkInclude.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.chkInclude.Font = CType(resources.GetObject("chkInclude.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.chkInclude, CType(resources.GetObject("chkInclude.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.chkInclude, CType(resources.GetObject("chkInclude.IconPadding"), Integer))
        Me.chkInclude.Image = CType(resources.GetObject("chkInclude.Image"), System.Drawing.Image)
        Me.chkInclude.ImageAlign = CType(resources.GetObject("chkInclude.ImageAlign"), System.Drawing.ContentAlignment)
        Me.chkInclude.ImageIndex = CType(resources.GetObject("chkInclude.ImageIndex"), Integer)
        Me.chkInclude.ImeMode = CType(resources.GetObject("chkInclude.ImeMode"), System.Windows.Forms.ImeMode)
        Me.chkInclude.Location = CType(resources.GetObject("chkInclude.Location"), System.Drawing.Point)
        Me.chkInclude.Name = "chkInclude"
        Me.chkInclude.RightToLeft = CType(resources.GetObject("chkInclude.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.chkInclude.Size = CType(resources.GetObject("chkInclude.Size"), System.Drawing.Size)
        Me.chkInclude.TabIndex = CType(resources.GetObject("chkInclude.TabIndex"), Integer)
        Me.chkInclude.Text = resources.GetString("chkInclude.Text")
        Me.chkInclude.TextAlign = CType(resources.GetObject("chkInclude.TextAlign"), System.Drawing.ContentAlignment)
        Me.chkInclude.Visible = CType(resources.GetObject("chkInclude.Visible"), Boolean)
        '
        'btnBrowse
        '
        Me.btnBrowse.AccessibleDescription = resources.GetString("btnBrowse.AccessibleDescription")
        Me.btnBrowse.AccessibleName = resources.GetString("btnBrowse.AccessibleName")
        Me.btnBrowse.Anchor = CType(resources.GetObject("btnBrowse.Anchor"), System.Windows.Forms.AnchorStyles)
        Me.btnBrowse.BackgroundImage = CType(resources.GetObject("btnBrowse.BackgroundImage"), System.Drawing.Image)
        Me.btnBrowse.Dock = CType(resources.GetObject("btnBrowse.Dock"), System.Windows.Forms.DockStyle)
        Me.btnBrowse.Enabled = CType(resources.GetObject("btnBrowse.Enabled"), Boolean)
        Me.ErrorProvider1.SetError(Me.btnBrowse, resources.GetString("btnBrowse.Error"))
        Me.btnBrowse.FlatStyle = CType(resources.GetObject("btnBrowse.FlatStyle"), System.Windows.Forms.FlatStyle)
        Me.btnBrowse.Font = CType(resources.GetObject("btnBrowse.Font"), System.Drawing.Font)
        Me.ErrorProvider1.SetIconAlignment(Me.btnBrowse, CType(resources.GetObject("btnBrowse.IconAlignment"), System.Windows.Forms.ErrorIconAlignment))
        Me.ErrorProvider1.SetIconPadding(Me.btnBrowse, CType(resources.GetObject("btnBrowse.IconPadding"), Integer))
        Me.btnBrowse.Image = CType(resources.GetObject("btnBrowse.Image"), System.Drawing.Image)
        Me.btnBrowse.ImageAlign = CType(resources.GetObject("btnBrowse.ImageAlign"), System.Drawing.ContentAlignment)
        Me.btnBrowse.ImageIndex = CType(resources.GetObject("btnBrowse.ImageIndex"), Integer)
        Me.btnBrowse.ImeMode = CType(resources.GetObject("btnBrowse.ImeMode"), System.Windows.Forms.ImeMode)
        Me.btnBrowse.Location = CType(resources.GetObject("btnBrowse.Location"), System.Drawing.Point)
        Me.btnBrowse.Name = "btnBrowse"
        Me.btnBrowse.RightToLeft = CType(resources.GetObject("btnBrowse.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.btnBrowse.Size = CType(resources.GetObject("btnBrowse.Size"), System.Drawing.Size)
        Me.btnBrowse.TabIndex = CType(resources.GetObject("btnBrowse.TabIndex"), Integer)
        Me.btnBrowse.Text = resources.GetString("btnBrowse.Text")
        Me.btnBrowse.TextAlign = CType(resources.GetObject("btnBrowse.TextAlign"), System.Drawing.ContentAlignment)
        Me.btnBrowse.Visible = CType(resources.GetObject("btnBrowse.Visible"), Boolean)
        '
        'ErrorProvider1
        '
        Me.ErrorProvider1.ContainerControl = Me
        Me.ErrorProvider1.Icon = CType(resources.GetObject("ErrorProvider1.Icon"), System.Drawing.Icon)
        '
        'Range
        '
        Me.AcceptButton = Me.btnOk
        Me.AccessibleDescription = resources.GetString("$this.AccessibleDescription")
        Me.AccessibleName = resources.GetString("$this.AccessibleName")
        Me.AutoScaleBaseSize = CType(resources.GetObject("$this.AutoScaleBaseSize"), System.Drawing.Size)
        Me.AutoScroll = CType(resources.GetObject("$this.AutoScroll"), Boolean)
        Me.AutoScrollMargin = CType(resources.GetObject("$this.AutoScrollMargin"), System.Drawing.Size)
        Me.AutoScrollMinSize = CType(resources.GetObject("$this.AutoScrollMinSize"), System.Drawing.Size)
        Me.BackgroundImage = CType(resources.GetObject("$this.BackgroundImage"), System.Drawing.Image)
        Me.CancelButton = Me.btnCancel
        Me.ClientSize = CType(resources.GetObject("$this.ClientSize"), System.Drawing.Size)
        Me.Controls.Add(Me.btnBrowse)
        Me.Controls.Add(Me.chkInclude)
        Me.Controls.Add(Me.chkOpen)
        Me.Controls.Add(Me.txtFile)
        Me.Controls.Add(Me.lblFile)
        Me.Controls.Add(Me.btnOk)
        Me.Controls.Add(Me.btnCancel)
        Me.Controls.Add(Me.updFrom)
        Me.Controls.Add(Me.lblFrom)
        Me.Controls.Add(Me.updTo)
        Me.Controls.Add(Me.lblTo)
        Me.Enabled = CType(resources.GetObject("$this.Enabled"), Boolean)
        Me.Font = CType(resources.GetObject("$this.Font"), System.Drawing.Font)
        Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
        Me.Icon = CType(resources.GetObject("$this.Icon"), System.Drawing.Icon)
        Me.ImeMode = CType(resources.GetObject("$this.ImeMode"), System.Windows.Forms.ImeMode)
        Me.Location = CType(resources.GetObject("$this.Location"), System.Drawing.Point)
        Me.MaximizeBox = False
        Me.MaximumSize = CType(resources.GetObject("$this.MaximumSize"), System.Drawing.Size)
        Me.MinimizeBox = False
        Me.MinimumSize = CType(resources.GetObject("$this.MinimumSize"), System.Drawing.Size)
        Me.Name = "Range"
        Me.RightToLeft = CType(resources.GetObject("$this.RightToLeft"), System.Windows.Forms.RightToLeft)
        Me.ShowInTaskbar = False
        Me.StartPosition = CType(resources.GetObject("$this.StartPosition"), System.Windows.Forms.FormStartPosition)
        Me.Text = resources.GetString("$this.Text")
        CType(Me.updFrom, System.ComponentModel.ISupportInitialize).EndInit()
        CType(Me.updTo, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub

#End Region

    Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click
        If txtFile.Text <> "" Then fMain.SaveFileDialog1.InitialDirectory = txtFile.Text
        fMain.SaveFileDialog1.Filter = "HTML Files(*.htm;*.html)|*.htm;*.html" '|Adobe PDF Files(*.pdf)|*.pdf|XML Files(*.xml)|*.xml
        fMain.SaveFileDialog1.FileName = ""
        If fMain.SaveFileDialog1.ShowDialog(Me) = DialogResult.OK Then txtFile.Text = fMain.SaveFileDialog1.FileName
    End Sub
    Private Sub btnOk_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOk.Click
        Dim s As String = ErrorProvider1.GetError(btnBrowse)
        If s = "" Then
            Me.DialogResult = DialogResult.OK
        Else
            MsgBox(s)
            txtFile.SelectAll()
            txtFile.Select()
        End If
    End Sub
    Private Sub txtFile_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtFile.Validated
        Dim s As String
        If txtFile.Text.Trim = "" Then
            s = "Enter the file name"
        Else
            Dim x As String = IO.Path.GetExtension(txtFile.Text)
            If x <> ".htm" And x <> ".html" And x <> ".pdf" And x <> ".xml" Then
                s = "Invalid file name"
            End If
            If Not IO.Directory.Exists(IO.Path.GetDirectoryName(txtFile.Text)) Then
                s = "Invalid directory"
            End If
        End If
        ErrorProvider1.SetError(txtFile, s)
    End Sub
End Class
